import { Router, Route } from 'dva/router';
import Login from './route/Login';
import Register from './route/Register';
import ForgetPassword from './route/ForgetPassword';

function RouterConfig({history}) {
	return(
		<Router history={history}>
			<Route path='/login' component={Login} />
			<Route path='/register' component={Register} />
			<Route path='/forgetPassword' component={ForgetPassword} />
		</Router>
	);
}

export default RouterConfig;